/**
 * Project Name:MVC
 * File Name:MenuController.java
 * Package Name:cn.com.tupperware.controller
 * Date:Nov 4, 201610:52:45 AM
 * Copyright (c) 2016, chenzhou1025@126.com All Rights Reserved.
 *
*/

package cn.com.tupperware.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * ClassName:MenuController <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: Nov 4, 2016 10:52:45 AM <br/>
 * 
 * @author upw023
 * @version
 * @since JDK 1.6
 * @see
 */
@Controller
public class MenuController {
	@RequestMapping(value = { "/menu.do" }, method = RequestMethod.GET)
	public ModelAndView initialMenu(HttpServletRequest request, HttpServletResponse response) throws Exception {

		Map<String, Object> menulist = new HashMap<String, Object>();

		// Product pro = new Product();
		// pro.setPid(pid);
		// map.put("name", pid);
		// map.put("pro", pro);

		ModelAndView mv = new ModelAndView("menu", menulist);

		return mv;
	}
}
